<template>
     <div id="app">
        <p>flex-center</p>
        <div class="flex-center">
            <div class="item"></div>
            <div class="item"></div>
            <div class="item"></div>
        </div>
        <p>flex-start</p>
        <div class="flex-start">
            <div class="item"></div>
            <div class="item"></div>
            <div class="item"></div>
        </div>
        <p>flex-end</p>
        <div class="flex-end">
            <div class="item"></div>
            <div class="item"></div>
            <div class="item"></div>
        </div>
    </div>
</template>

<script>
export default {
    data(){
      return{}
            },
            methods: {
            }
}
</script>
<style scoped>
.flex-start{
    display:flex;
    justify-content: start;
}
.flex-end{
    display:flex;
    justify-content: end;
}
.flex-center{
    display:flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
}
.item{
    background: red;
    height: 100px;
    width: 100px;
    border: 1px solid rgb(0, 0, 0);
}
</style>
